//
//  YbrLocalMusicDao.h
//  wifibox
//
//  Created by os X 10.9 on 14-12-18.
//  Copyright (c) 2014年 yinbaner. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YbrMusicItem.h"

@interface YbrLocalMusicDao : NSObject

// 第一次初始化的时候设置本地的音乐
-(BOOL) firstSetLocalMusic;

// 这个是同步本地的音乐
-(BOOL) noFirstSetLocalMusic;

// 返回的Arr里面放置的是YbrMusicItem对象
-(NSArray *) getLocalMusic;

-(BOOL) setMusicByMusicHall:(YbrMusicItem *) musicItem;

-(BOOL) deleMusicById:(int) musicid;

-(BOOL) deleMusicByIdOnlyRemoveDB:(int)musicid;

-(YbrMusicItem *) getMusicById:(int) musicId;

-(NSArray *) getMusicListByIds:(NSArray *) musicIds;


@end
